package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.enums.IdType;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 分销设置表
 * </p>
 *
 * @author chenxuebin
 * @since 2019-01-16
 */
@TableName("t_fenxiao")
public class Fenxiao extends Model<Fenxiao> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 分销类型@1：系统级；2：类目级；3：商品级；
     */
	private Integer fxtype;
	private Integer hytype;
    /**
     * 分销级别
     */
	private Integer fxlevel;
	private Integer hylevel;
	private Integer yejizhouqi;
	/**
	 * 升级会员模式@1：充值模式；2：会员商品；3：累计消费模式；4；手工模式
	 */
	private Integer huiyuantype;
	/**
	 * 分销奖励类型@1：送现金；2：送虚拟币；1：送积分
	 */
	private Integer jiangtype;
    /**
     * 见点奖励
     */
	private BigDecimal jiandian;
    /**
     * 团队奖
     */
	private BigDecimal tuanjiang;

    /**
     * 一级名称
     */
	private String fxname1;
    /**
     * 一级会费
     */
	private BigDecimal huifei1;

    /**
     * 二级名称
     */
	private String fxname2;
    /**
     * 二级会费
     */
	private BigDecimal huifei2;

    /**
     * 三级名称
     */
	private String fxname3;
    /**
     * 三级会费
     */
	private BigDecimal huifei3;

    /**
     * 四级名称
     */
	private String fxname4;
    /**
     * 四级会费
     */
	private BigDecimal huifei4;

    /**
     * 五级名称
     */
	private String fxname5;
    /**
     * 五级会费
     */
	private BigDecimal huifei5;

    /**
     * 六级名称
     */
	private String fxname6;
    /**
     * 六级会费
     */
	private BigDecimal huifei6;

    /**
     * 七级名称
     */
	private String fxname7;
    /**
     * 七级会费
     */
	private BigDecimal huifei7;

	private BigDecimal mzhekou1;
	private BigDecimal mzhekou2;
	private BigDecimal mzhekou3;
	private BigDecimal mzhekou4;
	private BigDecimal mzhekou5;
	private BigDecimal mzhekou6;
	private BigDecimal mzhekou7;

	private BigDecimal txfei1;
	private BigDecimal txfei2;
	private BigDecimal txfei3;
	private BigDecimal txfei4;
	private BigDecimal txfei5;
	private BigDecimal txfei6;
	private BigDecimal txfei7;

	private String exts;
	private Long ywid;
	private Long mid;
	private Long mpid;
	private Long sid;
	private Long uid;
	private Date createtime;
	private Integer state;
	private Date modifytime;
	private Long modifier;

	private Integer xffantype;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getFxtype() {
		return fxtype;
	}

	public void setFxtype(Integer fxtype) {
		this.fxtype = fxtype;
	}

	public Integer getFxlevel() {
		return fxlevel;
	}

	public void setFxlevel(Integer fxlevel) {
		this.fxlevel = fxlevel;
	}

	public BigDecimal getJiandian() {
		return jiandian;
	}

	public void setJiandian(BigDecimal jiandian) {
		this.jiandian = jiandian;
	}

	public BigDecimal getTuanjiang() {
		return tuanjiang;
	}

	public void setTuanjiang(BigDecimal tuanjiang) {
		this.tuanjiang = tuanjiang;
	}

	public BigDecimal getHuifei1() {
		return huifei1;
	}

	public void setHuifei1(BigDecimal huifei1) {
		this.huifei1 = huifei1;
	}

	public BigDecimal getHuifei2() {
		return huifei2;
	}

	public void setHuifei2(BigDecimal huifei2) {
		this.huifei2 = huifei2;
	}

	public BigDecimal getHuifei3() {
		return huifei3;
	}

	public void setHuifei3(BigDecimal huifei3) {
		this.huifei3 = huifei3;
	}

	public BigDecimal getHuifei4() {
		return huifei4;
	}

	public void setHuifei4(BigDecimal huifei4) {
		this.huifei4 = huifei4;
	}

	public BigDecimal getHuifei5() {
		return huifei5;
	}

	public void setHuifei5(BigDecimal huifei5) {
		this.huifei5 = huifei5;
	}

	public BigDecimal getHuifei6() {
		return huifei6;
	}

	public void setHuifei6(BigDecimal huifei6) {
		this.huifei6 = huifei6;
	}

	public BigDecimal getHuifei7() {
		return huifei7;
	}

	public void setHuifei7(BigDecimal huifei7) {
		this.huifei7 = huifei7;
	}

	public Long getYwid() {
		return ywid;
	}

	public void setYwid(Long ywid) {
		this.ywid = ywid;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	public Integer getYejizhouqi() {
		return yejizhouqi;
	}

	public void setYejizhouqi(Integer yejizhouqi) {
		this.yejizhouqi = yejizhouqi;
	}

	public String getFxname1() {
		return fxname1;
	}

	public void setFxname1(String fxname1) {
		this.fxname1 = fxname1;
	}

	public String getFxname2() {
		return fxname2;
	}

	public void setFxname2(String fxname2) {
		this.fxname2 = fxname2;
	}

	public String getFxname3() {
		return fxname3;
	}

	public void setFxname3(String fxname3) {
		this.fxname3 = fxname3;
	}

	public String getFxname4() {
		return fxname4;
	}

	public void setFxname4(String fxname4) {
		this.fxname4 = fxname4;
	}

	public String getFxname5() {
		return fxname5;
	}

	public void setFxname5(String fxname5) {
		this.fxname5 = fxname5;
	}

	public String getFxname6() {
		return fxname6;
	}

	public void setFxname6(String fxname6) {
		this.fxname6 = fxname6;
	}

	public String getFxname7() {
		return fxname7;
	}

	public void setFxname7(String fxname7) {
		this.fxname7 = fxname7;
	}

	public Integer getHuiyuantype() {
		return huiyuantype;
	}

	public void setHuiyuantype(Integer huiyuantype) {
		this.huiyuantype = huiyuantype;
	}

	public Integer getJiangtype() {
		return jiangtype;
	}

	public void setJiangtype(Integer jiangtype) {
		this.jiangtype = jiangtype;
	}

	public String getExts() {
		return exts;
	}

	public void setExts(String exts) {
		this.exts = exts;
	}

	public Integer getHytype() {
		return hytype;
	}

	public void setHytype(Integer hytype) {
		this.hytype = hytype;
	}

	public Integer getHylevel() {
		return hylevel;
	}

	public void setHylevel(Integer hylevel) {
		this.hylevel = hylevel;
	}

	public BigDecimal getTxfei1() {
		return txfei1;
	}

	public void setTxfei1(BigDecimal txfei1) {
		this.txfei1 = txfei1;
	}

	public BigDecimal getTxfei2() {
		return txfei2;
	}

	public void setTxfei2(BigDecimal txfei2) {
		this.txfei2 = txfei2;
	}

	public BigDecimal getTxfei3() {
		return txfei3;
	}

	public void setTxfei3(BigDecimal txfei3) {
		this.txfei3 = txfei3;
	}

	public BigDecimal getTxfei4() {
		return txfei4;
	}

	public void setTxfei4(BigDecimal txfei4) {
		this.txfei4 = txfei4;
	}

	public BigDecimal getTxfei5() {
		return txfei5;
	}

	public void setTxfei5(BigDecimal txfei5) {
		this.txfei5 = txfei5;
	}

	public BigDecimal getTxfei6() {
		return txfei6;
	}

	public void setTxfei6(BigDecimal txfei6) {
		this.txfei6 = txfei6;
	}

	public BigDecimal getTxfei7() {
		return txfei7;
	}

	public void setTxfei7(BigDecimal txfei7) {
		this.txfei7 = txfei7;
	}

	public BigDecimal getMzhekou1() {
		return mzhekou1;
	}

	public void setMzhekou1(BigDecimal mzhekou1) {
		this.mzhekou1 = mzhekou1;
	}

	public BigDecimal getMzhekou2() {
		return mzhekou2;
	}

	public void setMzhekou2(BigDecimal mzhekou2) {
		this.mzhekou2 = mzhekou2;
	}

	public BigDecimal getMzhekou3() {
		return mzhekou3;
	}

	public void setMzhekou3(BigDecimal mzhekou3) {
		this.mzhekou3 = mzhekou3;
	}

	public BigDecimal getMzhekou4() {
		return mzhekou4;
	}

	public void setMzhekou4(BigDecimal mzhekou4) {
		this.mzhekou4 = mzhekou4;
	}

	public BigDecimal getMzhekou5() {
		return mzhekou5;
	}

	public void setMzhekou5(BigDecimal mzhekou5) {
		this.mzhekou5 = mzhekou5;
	}

	public BigDecimal getMzhekou6() {
		return mzhekou6;
	}

	public void setMzhekou6(BigDecimal mzhekou6) {
		this.mzhekou6 = mzhekou6;
	}

	public BigDecimal getMzhekou7() {
		return mzhekou7;
	}

	public void setMzhekou7(BigDecimal mzhekou7) {
		this.mzhekou7 = mzhekou7;
	}

	public Integer getXffantype() {
		return xffantype;
	}

	public void setXffantype(Integer xffantype) {
		this.xffantype = xffantype;
	}

	public Long getSid() {
		return sid;
	}

	public void setSid(Long sid) {
		this.sid = sid;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Fenxiao{" +
			"id=" + id +
			", fxtype=" + fxtype +
			", fxlevel=" + fxlevel +
			", jiandian=" + jiandian +
			", tuanjiang=" + tuanjiang +
			", huifei1=" + huifei1 +
			", huifei2=" + huifei2 +
			", huifei3=" + huifei3 +
			", huifei4=" + huifei4 +
			", huifei5=" + huifei5 +
			", huifei6=" + huifei6 +
			", huifei7=" + huifei7 +
			", ywid=" + ywid +
			", mid=" + mid +
			", mpid=" + mpid +
			", uid=" + uid +
			", createtime=" + createtime +
			", state=" + state +
			", modifytime=" + modifytime +
			", modifier=" + modifier +
			"}";
	}
}
